<include file="Restaurant_nl:header" />
<body>
<div class="wraper">
    <div class="load">
        <img class="load-bee" src="/assets/base/restaurant/images/load-bee.png"/>

    </div>
    <div class="top">
        <p><a onclick ="javascript:history.go(-1);" class="iconfont icon-zuo pull-left"></a>餐厅详情<a href="/base/restaurant/index/res_id/{BEESCRM:$res_id}" class="iconfont icon-shouye pull-right"></a></p>
    </div>
    <div class="lists tb-mode">
        <a href="<if condition="$data['stop'] eq 0">/base/restaurant/menu/restaurant_id/{BEESCRM:$data.restaurant_id}/res_id/{BEESCRM:$res_id}<else/>javascript:void(0);</if>" class="tb-cell list-left">
            <div class="img-box"><img src="{BEESCRM:$data.logo_url}"></div>
        </a>
        <a href="<if condition="$data['stop'] eq 0">/base/restaurant/menu/restaurant_id/{BEESCRM:$data.restaurant_id}/res_id/{BEESCRM:$res_id}<else/>javascript:void(0);</if>" class="tb-cell list-center">
            <p>{BEESCRM:$data.restaurant_name}</p>
            <p class="star-box">
					<span class="stars">
						<span>口味</span>
						<for start="0" end="$data.star"><span class="iconfont icon-xingxing star"></span></for>
						<for start="0" end="$data.grey_star"><span class="iconfont icon-xingxing star grey-star"></span></for>
					</span>
					<span class="stars">
						<span>配送</span>
						<for start="0" end="$data.send_star"><span class="iconfont icon-xingxing star"></span></for>
						<for start="0" end="$data.send_grey_star"><span class="iconfont icon-xingxing star grey-star"></span></for>
					</span>
            </p>
            <p class="star-box">
					<span class="stars">
						<span>质量</span>
						<for start="0" end="$data.zl_star"><span class="iconfont icon-xingxing star"></span></for>
						<for start="0" end="$data.zl_grey_star"><span class="iconfont icon-xingxing star grey-star"></span></for>
					</span>
            </p>
        </a>
    </div>
    <div class="restaurant-info">
        <ul class="clearfix">
            <li><p>{BEESCRM:$data.need_time}</p><p class="unit">送达/分钟</p></li>
            <li><p>{BEESCRM:$data.min_price}</p><p class="unit">起送价/元</p></li>
            <li><p>{BEESCRM:$data.shipment}</p><p class="unit">配送费/元</p></li>
        </ul>
	    <notempty name="data.mobile">
        <div class="lists tb-mode">
            <p class="tb-cell">{BEESCRM:$data.mobile}</p>
            <a href="tel:{BEESCRM:$data.mobile}" class="tb-cell list-right"><span class="iconfont icon-dianhua1"></span></a>
        </div>
	    </notempty>
        <div class="lists">
            <p>{BEESCRM:$data.address}</p>
        </div>
    </div>
    <div class="restaurant-info">
        <div class="lists">
            <p><span class="iconfont icon-shijian"></span> <span class="block-right">{BEESCRM:$data.time1}~{BEESCRM:$data.time2}</span><span>{BEESCRM:$data.time3}~{BEESCRM:$data.time4}</span><span>{BEESCRM:$data.time5}~{BEESCRM:$data.time6}</span></p>
        </div>
        <div class="lists">
            <p><span class="iconfont icon-dianwaimai"></span>{BEESCRM:$data.scope}</p>
        </div>
    </div>
	<if condition="$sign eq 1">
    <div class="btn-box">
	    <if condition="$data['stop'] eq 0">
		    <a href="/base/restaurant/menu/restaurant_id/{BEESCRM:$data.restaurant_id}/res_id/{BEESCRM:$res_id}" class="btn green-btn">还吃这家！</a>
	        <else/>
		    <a href="javascript:void(0);" class="btn green-btn" style="background-color: #808080;">该餐厅暂停营业</a>
	    </if>

    </div>
		</if>
</div>

<include file="Restaurant_nl:commonJS" />
</body>
</html>
